$OpenBSD: patch-src_daemon_Makefile_in,v 1.4 2017/04/30 17:52:15 landry Exp $
--- src/daemon/Makefile.in.orig	Mon Jan 23 10:54:27 2017
+++ src/daemon/Makefile.in	Sun Feb 26 20:22:04 2017
@@ -79,7 +79,7 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-@BUILD_FEATURE_DAEMON_TRUE@am__append_1 = -DPIDFILE='"${localstatedir}/run/${PACKAGE_NAME}.pid"'
+@BUILD_FEATURE_DAEMON_TRUE@am__append_1 = -DPIDFILE='"${localstatedir}/${PACKAGE_NAME}/${PACKAGE_NAME}.pid"'
 @BUILD_WITH_CAPABILITY_TRUE@am__append_2 = -lcap
 @BUILD_WITH_LIBRT_TRUE@am__append_3 = -lrt
 @BUILD_WITH_LIBPOSIX4_TRUE@am__append_4 = -lposix4
@@ -787,7 +787,7 @@ top_srcdir = @top_srcdir@
 AM_CPPFLAGS = -I$(top_srcdir)/src -DPREFIX='"${prefix}"' \
 	-DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"' \
 	-DLOCALSTATEDIR='"${localstatedir}"' \
-	-DPKGLOCALSTATEDIR='"${localstatedir}/lib/${PACKAGE_NAME}"' \
+	-DPKGLOCALSTATEDIR='"${localstatedir}/${PACKAGE_NAME}"' \
 	$(am__append_1) -DPLUGINDIR='"${pkglibdir}"' \
 	-DPKGDATADIR='"${pkgdatadir}"'
 
